home *** CD-ROM | disk | FTP | other *** search
-
- Modifying Menu Items
- --------------------
-
- by Ted M. Young
-
- 09/10/91
-
- CIS: 76703,4343
- Internet: tedyoung@panix.com
-
- In Visual Basic, there's an undocumented way to change the "Separator Bar"
- status of a Menu Item using the .Separator property. However, since it was
- undocumented, I ended up writing the enclosed code and demo app to get around
- what I thought was a "bug" in VB. The code is now essentially only useful for
- educational purposes, so in that respect I feel it's worth spreading around.
- I've broken down the code into a few functions which you might find useful for
- getting the handle to a menu, getting the menu item ID number, etc.
-
- If you have any questions, don't hesitate to ask. If there are any problems
- with the code, please tell me ASAP and I'll fix 'em (if I can).
-
- - Ted
-
-